import request from "../utils/http.js";

export const reqCourseCategory = () => request.get('course/course_category/')
export const reqCourse = (params) => request.get('course/course/', {params: params})
export const reqCourseDetail = (course_id) => request.get(`course/course/${course_id}/`)
export const reqCourseChapter = (course_id) => request.get(`course/course_chapter/?course=${course_id}`)

export const reqSearchCourse = (params) => request.get('course/search/', {params: params})



